/* ---------------------------------------------------------------------------------------------
 *
 *            Capital Alliance Software Confidential Proprietary
 *            (c) Copyright CAS 201{x}, All Rights Reserved
 *                          www.pekall.com
 *
 * ----------------------------------------------------------------------------------------------
 */

package com.elvis.music.service;

import com.elvis.music.model.MusicPositionInfo;

public interface IPlayService {
    /**
     * 获取 playingInfo
     * 
     * @return
     */
    public abstract MusicPositionInfo getMusicPlayingInfo();

    /**
     * 下一首
     */
    public abstract void nextSong();

    /**
     * 上一首
     */
    public abstract void preSong();

    /**
     * 播放或暂停
     */
    public abstract void playingOrPause();

    /**
     * 设置当前歌曲播放位置
     * 
     * @param position
     */
    public abstract void setPosition(int position);

    /**
     * 点击item后播放
     * 
     * @param musicId
     */
    public abstract void itemClickPlay(int musicId);
    
    public abstract void playByPath(String path);

    /**
     * 释放正在播放的音乐
     */
    public abstract void stopMedia();

    public abstract void showDeskTopLrc();

    public abstract void closeDeskTopLrc();

}
